home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / c / bc_pas_2.zip / MVMIDI.H < prev    next >
Text File  |  1992-06-28  |  1KB  |  45 lines

  1.  
  2. ;   /*\
  3. ;---|*|--------====< MVMIDI.H >====--------
  4. ;---|*|
  5. ;---|*| Media Vision, Inc. Copyright (c) 1991,1992. All Rights Reserved.
  6. ;---|*|
  7. ;   \*/
  8.  
  9.  
  10. ;   /*\
  11. ;---|*| MIDI Function Prototypes
  12. ;   \*/
  13.  
  14.     int  mvMIDIEnable    ( int  );
  15.     int  mvMIDIGetBuff    ( int, char far * );
  16.     int  mvMIDIGetByte    (      );
  17.     void mvMIDISendBuff    ( int, char far * );
  18.     void mvMIDISendByte    ( char );
  19.     void mvMIDIDisable    (      );
  20.  
  21. // MIDI messages
  22.  
  23. #define SYSEX_ERROR    0xFF    // internal error code for sysexes on input
  24. #define ACTV_SENSE    0xFE    // active sense code
  25.  
  26. // MIDI message filters
  27.  
  28. #define MF_SYSEX    0x0001    // 0000000000000001b
  29. #define MF_MTCQTR    0x0002    // 0000000000000010b
  30. #define MF_SONGPOS    0x0004    // 0000000000000100b
  31. #define MF_SONGSEL    0x0008    // 0000000000001000b
  32. #define MF_UNDEFINED1    0x0001    // 0000000000010000b
  33. #define MF_UNDEFINED2    0x0002    // 0000000000100000b
  34. #define MF_TUNE     0x0004    // 0000000001000000b
  35. #define MF_ENDEX    0x0008    // 0000000010000000b
  36. #define MF_MIDICLOCK    0x0001    // 0000000100000000b
  37. #define MF_UNDEFINED3    0x0002    // 0000001000000000b
  38. #define MF_START    0x0004    // 0000010000000000b
  39. #define MF_CONTINUE    0x0008    // 0000100000000000b
  40. #define MF_STOP     0x0001    // 0001000000000000b
  41. #define MF_UNDEFINED4    0x0002    // 0010000000000000b
  42. #define MF_ACTSENSE    0x0004    // 0100000000000000b
  43. #define MF_SYSRESET    0x0008    // 1000000000000000b
  44.  
  45.